package com.lida.alipay.controller;

import org.springframework.beans.factory.annotation.Value;

/**
 * author: lida
 * create time: 2021-03-02 21:36
 * description:
 */
public abstract class PayBaseController {
    // 支付宝支付参数配置
    //@Value("${ALIPAY.APPID}")
    protected static final String app_id = "2021000117616374";    //应用 ID，您的 APPID，收款账号既是您的 APPID 对应支付宝账号
    //@Value("${ALIPAY.PRIVATEKEY}")
    protected static final String merchant_private_key = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC4EE0+dlaLMvFc9aICpPuq19IbIZfZIcvCUWGz7aA6aaukIgNhpstlNGB08/y03k/M7hdpo2g2LKaV5acoA+28o57B4czKh3Iifyoo8BJGUT+twy9DZFsBqCiTO+5o+hK8Bew8kBzshq4X1HHRoXtd7P1hQe+B8PUffgQJJh41MynmTsrxuFeou/mXFFzCr3IxdE91cZ9m1iIKcvaN1q4gc3iqpxzdDVi+P1lWV9LXKfWe2GZbGqlj2RF20zd2jCLXcfNFuYJLcamLMUccx0IWQqTKo/V5f5f9vmrh4GzU/46+H69yFJiYG0YTn5RMWE80d19e5hZvzSM/HP0zzwtpAgMBAAECggEAP3HvDj7AKg8PP1mz1HGGBieKVqvHqaKKl5pxsRGRj1DpRxQqUjiqF2JsdSO80aNnol3XWCRpQXM2oKiea56fDczgZjgs3Qq+/sESiTXnNrG+32hOHE61R+bsxYN89FZuqrzn5yBNuAHcdH5YFUgyO/f6htGxevrRo19OiNDIzNEVjXBG6ibq3IB2uxJ44ZpgYc7t4QR4KXdY/PqyYrxL2vi6d49cspx9MJf+Sz9Tky12shQ85O5PWfC4KPGlccmkPbyJ7AQE+ejMO9I/prZ/Iu58zdfbx2Jgx7X2s9mq6JBUS6MQ3oIcmLHFkpPhlCXkG8TEoL70EED0MR1VtvKVAQKBgQDwWePAo9B7E+QIgQ/SLalJ1JilgoHZ7LSmuTbKQRWUcFmoiTYEjdNpKsbSP70i4RX0djJe/A3nBIjzwJKCfWsYrng4TOZgJUg2R4xbfiBNf1LvZcYnQCSYYuBx9Zm9Z/0wuC6Qe1IDPWBIsbfjiZeErzO1OspAwIS1PGpi7Xis2QKBgQDEDDo3T9tW0d11QBH1oKjYsYq7JvikheZA0MYkNwLMlxhHNW8kkk0Laz/3/aG/3cUE0CGtbHn6a3XltfXXIrTzUiYW5P5d5QC+EvRd6Gy7I/v5KIZkLv7uiYrsaf59LNS132s2BNi26XhC5EebRiuQAO/MzRpaMVKUHAUMUkF5EQKBgFoyQYf/cbNeaYrPdDJ5tDfisk4aRcSUUc7nXqpT9lc4Ok1HAKCA4L9ssCQii0XVljmhSZHfoQ/64bInqFOT4WbnwnHOWf3mv8yu2PtUv6aVi3gPh2cfaRxOrs/VTRaJObjYxZCu1r4kgEeHeezHq7a9UPhH0bKvDJ4+x+XMHCcxAoGAYEaA8FjPJju5vbLRHwbe5EuMDYx93o3DHWFpbK93OHGbAp1DD3qpS0pIB8kOfeKytkJfx4LWBBxxsXVCXXw10Kgu/F9Ia2PikXVNfDB/9Qce3qUAGoLZvtrc1mzXBTHW49nsFIMcyfatkGv6nk4/ZmCPYsv2fQRrwUBhWkOq04ECgYEA0CxXveAFxGlIFISlnu91+u8tvBxZT6L2fSJdNVYuY4A4lFCjQvVhuGMS6lfI+AD84yI9KJuB0Q5wg3sA5595BxPbtGn5uixk29DAoPmOfltyBa5WK01wL/u6GwDxCYpE8ZTNSsg+tOzHQPVgVuCs7xrAgzlRMVkNtthpQ4QlEVs=";  //商户私钥，您的 PKCS8格式 RSA2私钥
    //@Value("${ALIPAY.PUBLICKEY}")
    protected static final String alipay_public_key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoboQbSUK6KG/EQDA8LOQvL5h0rH7/WlQpI0uzqion1sz2MXOhi3A+Ap39kmoU1gVBqsBOEdvV2Pc+WZzzUPcEPnzbnr1N7ApRxhQAabdEJWT6lDVH9QidruHRbF817R3M3s0ElTMTqlAHqPq4/VZaj8lufha7grvFpctejEjVFz76XSc48ZrXPqEqTDzifiMO7TgoaxmA+AEDx8q+TsQ2PQ+hL/gM+Y8Twgfh/vu5k36SbmDhUb4yNUvH4/NR5Hcn9BL7Woma7fVn+g0aA6Pk86rcwptLvTfUr1ao15ZvJjSxufQyTlmN6j6eZaGhXoxDb2c5IapD0hO8rwENJ+c5QIDAQAB"; //支付宝公钥
    //@Value("${ALIPAY.NOTIFY_URL}")
    protected static final String notify_url = "http://47.103.204.132:15000/alipay/notify";    //服务器异步通知页面路径
    //@Value("${ALIPAY.RETURNA_URL}")
    protected static final String return_url = "http://47.103.204.132:15000/alipay/return";    //页面跳转同步通知页面路径
    //@Value("${ALIPAY.SIGN}")
    protected static final String sign_type = "RSA2";  //签名方式
    protected static final String charset = "utf-8";  //字符编码格式
    //@Value("${ALIPAY.GATEWAY_URL}")
    protected static final String gateway_url = "https://openapi.alipaydev.com/gateway.do";  //支付宝网关
    protected static final String file_path = "D:/down/";
    protected static final String file_zip_path = "D:/zip/";
}
